<?php if (count($model) > 0) { ?>
    <div class="vj_box_300">
        <div class="title_300"><span>SẢN PHẨM CÙNG NGƯỜI BÁN</span></div>
        <div class="content_300">
            <div class="vj_product_detail">
                <ul>
                    <?php foreach ($model as $item) { ?>
                        <li>
                            <a href="<?php echo TreTodayUrl::getProductUrl($item->product_id, $item->product_name) ?>">
                                <!--                                <img-->
                                <!--                                    style="background: transparent url('-->
                                <?php //echo $item->getPictureUrl() ?><!--') no-repeat scroll center center;"-->
                                <!--                                    alt="" src="-->
                                <?php //echo TreTodayUrl::getBlankImage() ?><!--" height="88" width="88"/>-->
                                <img
                                    style="background: transparent url('<?php echo $item->getPictureUrl() ?>') no-repeat scroll center center;"
                                    alt="" src="<?php echo $item->getPictureUrl() ?>" height="88" width="88"/>
                            </a>

                            <p>
                                <a href="<?php echo TreTodayUrl::getProductUrl($item->product_id, $item->product_name) ?>">
                                    <?php echo $item->product_name ?></a> Giá:
                                <strong><?php echo TreTodayCommon::formatPrice($item->price, $item->currency) ?></strong>
                                <br/>
                                Phạm vi: <?php echo TreTodayCommon::getLocationName($item->location) ?>
                            </p>
                        </li>
                    <?php } ?>

                </ul>
            </div>
            <div class="fo_300">
                <label><a href="<?php echo TreTodayUrl::getUserUrl($model[0]->user_id, $model[0]->user_name) ?>">Xem
                        tiếp</a>
                </label>
            </div>
        </div>
    </div>
<?php } ?>
